package com.pactera.madp.cp.common.constant;

/**
 * 微信公众号API
 */
public interface WxAccountApiConst {

    /**
     * 微信公众号
     */
    String API_BASE = "https://api.weixin.qq.com/cgi-bin";

    /**
     * 获取全局token
     *  https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
     */
    String API_GET_TOKEN = API_BASE + "/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

    /**
     * 获取票据
     * https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi
     */
    String API_GET_TICKET = API_BASE + "/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi";
}
